Gets the number of items in the collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable ReadOnly Property Count As Integer |
C# | |
---|
public virtual int Count {get;} |
Managed Extensions for C++ | |
---|
public: __property virtual int get_Count(); |
C++/CLI | |
---|
public:
virtual property int Count {
int get();
} |
Return Value
The number of items in the collection.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also